<?php
class Admin_model extends CI_Model{
	public $table_name="manager";
	public function get_one($name,$pass){
		$array = array('username'=>$name,'password'=>$pass);
    	$query = $this->db->where($array)->get($this->table_name);
    	return $query->row();
    }
}